import {StyleSheet, Platform, Dimensions} from 'react-native';
import px2dp from '../../utils/px2dp';
const width = Dimensions.get('window').width;
const height = Dimensions.get('window').height;
const styles = StyleSheet.create({
  container: {
    flex: 1,
    backgroundColor: '#fff',
  },
  order_detail_container: {
    width,
    backgroundColor: '#fff',
  },
  small_title: {
    fontSize: px2dp(26),
    color: '#666',
    marginLeft: px2dp(39),
    marginTop: px2dp(24),
  },
  order_title: {
    flexDirection: 'row',
    alignItems: 'center',
    height: px2dp(80),
  },
  order_line: {
    width: px2dp(6),
    height: px2dp(20),
    backgroundColor: '#EB0029',
    borderRadius: px2dp(2),
    marginLeft: px2dp(34),
    marginRight: px2dp(21),
  },
  order_title_text: {
    fontSize: px2dp(30),
    color: '#333',
    fontWeight: 'bold',
  },
  content: {
    flexDirection: 'row',
    paddingHorizontal: px2dp(37),
    paddingBottom: px2dp(30),
  },
  content_info: {
    flex: 1,
  },
  info_list: {
    flexDirection: 'row',
    marginBottom: px2dp(21),
    alignItems: 'center',
  },
  label: {
    color: '#333',
    fontSize: px2dp(24),
    fontWeight: 'bold',
    marginRight: px2dp(23),
    textAlign: 'right',
    // width: px2dp(120),
  },
  lab_money: {
    color: '#EB0029',
  },
  label_text: {
    color: '#333',
    fontSize: px2dp(24),
  },
  coupon_text: {
    fontSize: px2dp(26),
    color: '#333',
  },
  order_prod_money: {
    marginHorizontal: px2dp(26),
  },
  order_prod_money_top: {
    flexDirection: 'row',
    alignItems: 'center',
    justifyContent: 'space-between',
    marginTop: px2dp(33),
  },
  text1: {
    fontSize: px2dp(26),
    color: '#333',
    fontWeight: 'bold',
  },
  text2: {
    fontSize: px2dp(22),
    color: '#999999',
  },
  order_prod_money_bottom: {
    flexDirection: 'row',
    alignItems: 'center',
    justifyContent: 'flex-end',
    marginVertical: px2dp(32),
  },
  text3: {
    fontSize: px2dp(20),
    color: '#333',
  },
  text4: {
    fontSize: px2dp(26),
    color: '#EB0029',
    marginLeft: px2dp(32),
  },
  order_sure_btn_container: {
    flexDirection: 'row',
    alignItems: 'center',
    justifyContent: 'center',
    marginBottom: px2dp(37),
    marginTop: px2dp(60),
  },
  order_sure_btn: {
    width: px2dp(436),
    height: px2dp(56),
    backgroundColor: '#EB0029',
    borderRadius: px2dp(28),
    justifyContent: 'center',
    alignItems: 'center',
  },
  order_sure_btn_text: {
    fontSize: px2dp(26),
    color: '#fff',
    fontWeight: 'bold',
  },
  order_invoic_text: {
    fontSize: px2dp(20),
    color: '#666',
  },
  gap: {
    height: px2dp(24),
    backgroundColor: 'rgb(248, 248, 248)',
  },
  pay_type: {
    justifyContent: 'center',
    alignItems: 'center',
  },
  pay_type_btn: {
    flexDirection: 'row',
    alignItems: 'center',
    justifyContent: 'center',
    marginVertical: px2dp(34),
  },
  label_input: {
    flex: 1,
    borderColor: '#f7f7f7',
    borderWidth: px2dp(1),
  },
  pay_img_icon: {
    width: px2dp(84),
    height: px2dp(84),
    marginHorizontal: px2dp(50),
  },
  pay_info_text: {
    fontSize: px2dp(20),
    color: '#FE5141',
  },
});

export default styles;
